package com.wskj.workbench.vo.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 购物车对象
 *
 * @author wsdz
 * @date 2022-09-26
 */
@Data
@ApiModel("APP购物车对象First")
public class AppTbShopCartFirstVo implements Serializable {

    @ApiModelProperty("购物车宝贝总数量")
    private Integer totalNumber;

    @ApiModelProperty("购物车宝贝总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("店铺ID")
    private Long shopId;

    /** 商家名称 */
    @NotBlank(message = "商家名称不能为空")
    private String shopName;

    /** 店铺logo(可修改) */
    @ApiModelProperty("店铺logo")
    private String shopLogo;

    @ApiModelProperty("单品信息集合")
    private List<AppTbShopCartLastVo> lastVoList = new ArrayList<>();
}
